package com.ruoyi.campus.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 悬赏榜领取申请对象 my_apply
 * 
 * @author zht
 * @date 2022-02-12
 */
public class MyApply extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 申请ID */
    private String applyId;

    /** 悬赏榜ID */
    private String offerId;

    /** 用户ID */
    private Long userId;

    /** 申请时间 */
    private Date applyTime;

    /** 图片路径 */
    private String image;

    /** 联系方式 */
    private String relation;

    public void setApplyId(String applyId) 
    {
        this.applyId = applyId;
    }

    public String getApplyId() 
    {
        return applyId;
    }
    public void setOfferId(String offerId) 
    {
        this.offerId = offerId;
    }

    public String getOfferId() 
    {
        return offerId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setApplyTime(Date applyTime) 
    {
        this.applyTime = applyTime;
    }

    public Date getApplyTime() 
    {
        return applyTime;
    }
    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }
    public void setRelation(String relation) 
    {
        this.relation = relation;
    }

    public String getRelation() 
    {
        return relation;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("applyId", getApplyId())
            .append("offerId", getOfferId())
            .append("userId", getUserId())
            .append("applyTime", getApplyTime())
            .append("image", getImage())
            .append("relation", getRelation())
            .append("remark", getRemark())
            .toString();
    }
}
